package com.springboot.cloud.demos.feign.service;

import com.springboot.cloud.common.core.entity.vo.Result;
import com.springboot.cloud.common.core.exception.SystemErrorType;
import com.springboot.cloud.demos.entity.form.MomentSupportForm;
import org.springframework.stereotype.Component;

@Component
public class MomentSupportServiceFallback implements MomentSupportService {

    @Override
    public Result save(MomentSupportForm momentSupportForm) {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }

    @Override
    public Result queryByUser(String userId,Integer type, String momentId) {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }

    @Override
    public Result delete(String id) {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }

    @Override
    public Result querySignUpList(String momentId) {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }
}
